package com.shj.dao;

import com.shj.entity.SysPerson;

import java.util.List;

public interface SysPersonMapper {
    int deleteByPrimaryKey(String persCode);

    int insert(SysPerson record);

    int insertSelective(SysPerson record);

    SysPerson selectByPrimaryKey(String persCode);

    SysPerson findByCardId(String cardId);

    List<SysPerson> findAll(String personName);

    List<SysPerson> findHolder(String personName);

    List<SysPerson> findNotPart(String famiCode);

    String getMaxCode(String familyNo);

    int addPart(String persCode);

    int updateByPrimaryKeySelective(SysPerson record);

    int updateByPrimaryKey(SysPerson record);
}